<?php

include '../../../include/cp_header.php';
include_once XOOPS_ROOT_PATH."/class/template.php";
	$XoopsTpl = new XoopsTpl();
#if (!$_GET['type']) $type='country'; else $type=$_GET['type'];
$type = $_GET['type'];
if (!$_GET['func'])  $func='main'; else $func=$_GET['func'];

include_once("$type.inc.php");
$function = "neoobject_admin_".$type."_$func";
#echo $function;
if (function_exists($function)) {
	$function();
	} else { 
 	neoobject_admin_index();
	}

function neoobject_admin_index(){
	global $XoopsTpl;
xoops_cp_header();
$XoopsTpl->display('db:neoobject_admin_mainmenu.html');	
$XoopsTpl->display('db:neoobject_admin_index.html');		
xoops_cp_footer();
}


?>